import request from '@/utils/request'

// 新增
export function AddDataAPI(data) {
  return request({
    url: '/system/verification/add',
    method: 'POST',
    data
  })
}

// 修改
export function EditDataAPI(data) {
  return request({
    url: '/system/verification/edit',
    method: 'PUT',
    data
  })
}

// 删除
export function DelDataAPI(query) {
  return request({
    url: '/system/verification/' + query,
    method: 'DELETE'
  })
}

// 详情
export function GetDelDataAPI(query) {
  return request({
    url: '/system/ofcode/' + query,
    method: 'GET'
  })
}

// 编码校验列表
export function GetListAPI(query) {
  return request({
    url: '/system/verification/list',
    method: 'GET',
    params: query
  })
}
